const fs = require('fs')
const path = require('path')
const nodeExternals = require('webpack-node-externals');


module.exports = function (options, webpack) {
    return {
        ...options,
        externals: [
            nodeExternals({
                allowlist: ['file-type']
            })
        ],
    }
}